Next | Prev | Up | Top | Contents | Index

Starting Multiple Schedulers

A Frame Scheduler cannot start dispatching activities until

When multiple Frame Schedulers are used, none can start until all are ready.

Each FRS controller tells its Frame Scheduler that it has enqueued all activities by calling frs_start(). Each activity process tells its Frame Scheduler that it is ready to begin real-time processing by calling frs_join().

A Frame Scheduler is ready when it has received one or more frs_enqueue() calls, an appropriate number of frs_join() calls, and an frs_start() call. Each synchronized Frame Scheduler tells the master Frame Scheduler when it is ready. When all the schedulers are ready, the master Frame Scheduler gives the downbeat, and the first minor frame begins.


Next | Prev | Up | Top | Contents | Index